//
//  Utils.m
//  QrcodeScanner
//
//  Created by Nguyen Cong Huy on 9/13/14.
//  Copyright (c) 2014 FreeAppForYou. All rights reserved.
//

#import "Utils.h"
#import "GAIDictionaryBuilder.h"

@implementation Utils

+ (void)sendTrackWithCategory:(NSString*)category action:(NSString*)action label:(NSString*)label value:(NSNumber*)value {
    id<GAITracker> tracker = [[GAI sharedInstance] defaultTracker];
    NSMutableDictionary* trackingEvent = [[GAIDictionaryBuilder createEventWithCategory:category action:action label:label value:value] build];
    [tracker send:trackingEvent];
}

@end
